{#if form?.message}
{form.message}
{/if}
{#if amount}
{$t("payments.send")}
{$t("payments.to")}
{recipient.username}
{#if invoice.items.length}
{$t("payments.for")}
{#each invoice.items as i}
{i.quantity}
{i.name}
{f(i.price * i.quantity, invoice.currency)}
{sat(btc(i.price * i.quantity, invoice.rate))}
{/each} {/if} {:else}
{/if}
{#if amount}
{#if submitting}
{:else} {$t("payments.send")} {/if}
{:else}
Max ⚡️{s(balance)}
{$t("payments.next")}
{/if}
{$t("payments.moreOptions")}
{#if !trusted}
{$t("payments.trustUser")}
{/if}